/**
 * 
 */
package org.sercho.masp.notification.decision;

import java.util.List;

import org.sercho.masp.models.Context.InteractionResource;

/**
 * A simple container-class for the presentation-mode and a {@link List} of
 * {@link InteractionResource}s.
 * 
 * @author Benny
 * 
 */
public class DecisionResult {

	/**
	 * The integer-value representing the presentation-mode.
	 */
	private int presentationMode;
	/**
	 * The {@link List} of {@link InteractionResource}s.
	 */
	private List<InteractionResource> irList;

	/**
	 * Constructor.
	 * 
	 * @param presentationMode
	 *            The integer-value representing the presentation-mode.
	 * @param irList
	 *            The {@link List} of {@link InteractionResource}s.
	 */
	public DecisionResult(int presentationMode, List<InteractionResource> irList) {
		this.presentationMode = presentationMode;
		this.irList = irList;
	}

	/**
	 * Presentation-mode-getter.
	 * 
	 * @return The integer-value representing the presentation-mode.
	 */
	public int getPresentationMode() {
		return presentationMode;
	}

	/**
	 * {@link InteractionResource}s-getter.
	 * 
	 * @return The {@link List} of {@link InteractionResource}s.
	 */
	public List<InteractionResource> getInteractionResources() {
		return irList;
	}

}
